package com.taofuxn.admin.common.util;

import org.springframework.beans.BeanUtils;

/**
 * @author wong
 * @Date: 2020-05-08
 * @Version: 1.0
 */
public class CopyUtils {
    public static <T> T copies(Object source, T t) {
        if (null == source)
            return t;
        BeanUtils.copyProperties(source, t);
        return t;
    }
}
